Is there a way to pass down an Interface through props